package com.gugee.ins.common.model.spider.media;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

/**
 * spider by userId
 * @author Huangxin
 */
@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class InsMediaResponse {

    private MediaData data;
    private String status;

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class MediaData{
        MediaEdge user;
    }

    @Data
    @JsonIgnoreProperties(ignoreUnknown = true)
    public static class MediaEdge{
        @JsonProperty("edge_owner_to_timeline_media")
        private EdgeMediaBody edgeOwnerToTimelineMedia;
    }
}
